package com.cqgc.pojo.dto.GoodsDTO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author : 是你
 * @time : 2024/4/17 14:58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddGoodsDTO {
    @NotEmpty
    private String goodsName;
    @NotNull
    private int categoryId;
    @NotNull
    private double price;
    @NotEmpty
    private String amount;
}
